package com.changjiang.luban.config.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * FileUploadException
 * Description:
 *
 * @author nichangjiang@vip.qq.com
 * @version v0.1
 * @date 2018/6/20 - 11:08
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class FileUploadException extends RuntimeException{

    private Integer code;

    public FileUploadException(Integer code, String message) {
        super(message);
        this.code = code;
    }

    public FileUploadException() {
    }
}
